export function getURLObj(path: string, reqURL: string) {
  const baseUrl = process.env.NEXT_PUBLIC_MY_DOMAIN || reqURL;
  return new URL(path, baseUrl);
}
